package com.leadingsoft.pwxk.model;

import java.util.List;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.OneToMany;

import com.alibaba.fastjson.annotation.JSONField;

import lombok.Getter;
import lombok.Setter;

/**
 * @author: lipan 2018年5月11日
 * @description: ( 产品及产能信息 )
 * 
 */

@Entity
@Getter
@Setter
public class ProductInfo extends Basic {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/** 行业名称 */
	@Column(length = 500)
	private String hyname;

	@OneToMany(cascade = CascadeType.ALL)
	@JSONField(name = "PRODUCTTECHLIST")
	List<ProductTech> productTechList;

}
